<?php
namespace App\Http\Controllers\Service;

/**
* 爱贝支付配置类
*/
class IapppayConfig
{
    /**
     *功能：配置文件
     *版本：1.0
     *修改日期：2014-06-26
     '说明：
     '以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己的需要，按照技术文档编写,并非一定要使用该代码。
     '该代码仅供学习和研究爱贝云计费接口使用，只是提供一个参考。
     */

    //爱贝商户后台接入url
    // $coolyunCpUrl="http://pay.coolyun.com:6988";
    public $iapppayCpUrl = "http://ipay.iapppay.com:9999";
    //登录令牌认证接口 url
    // protected $tokenCheckUrl = $iapppayCpUrl . "/openid/openidcheck";

    //下单接口 url
    // $orderUrl=$coolyunCpUrl . "/payapi/order";
    // protected $orderUrl=$iapppayCpUrl . "/payapi/order";

    //支付结果查询接口 url
    // protected $queryResultUrl=$iapppayCpUrl ."/payapi/queryresult";

    //契约查询接口url
    // protected $querysubsUrl=$iapppayCpUrl."/payapi/subsquery";

    //契约鉴权接口Url
    // protected $ContractAuthenticationUrl=$iapppayCpUrl."/payapi/subsauth";

    //取消契约接口Url
    // protected $subcancel=$iapppayCpUrl."/payapi/subcancel";
    //支付网关接口url
    public $gatewayUrl='https://web.iapppay.com/pay/gateway?';//支付网关网页端自适应
    //H5和PC跳转版支付接口Url
    public $h5url="https://web.iapppay.com/h5/gateway?";
    public $pcurl="https://web.iapppay.com/pc/gateway?";

    //应用编号
    public const APPID="3016552975";
    //应用私钥
    public const APPKEY="MIICXQIBAAKBgQDD+CfWLu9Cbk8NvMTI1muGZweWZv/pSfX9Kc7m0alQB+Sd4KSa+DFcFqTBjnvyJKPxjTShAX9GkSbOLJtFEZQgBxclkI1TBTkOxttKgd9H7MI3URptQtcwUu/U+MlBcPUCl1QQeCSYYgR1Pr+O86JzOc/zwf/6MsKBfWy4GyGxpwIDAQABAoGAFW8O7F41zQ5Dlz0OSOkq2YhrTAf39YwhW483EgfcfORgHOR1HH4I6AmR+5mZ9OINDF5lYzbGtPErTWGTmfpSOP2OIcX7zvtuIXo5PLUZScKWSAi5rd3QIm3b1u5Qj0eRYNqtIAcXsxa5XbUpd/cVqKC7naFLynhLeQDqTS7KgAECQQDhwWeDnqv4zqMrDWngWeOlpHQFLK80bM16B0Ik6DoSGubc+EwsNmAF3miwXjqt7fR0Q0YRPTd2CTYmKd9Lxh5XAkEA3jkx503nXITRBkdYHnMlkWaGwrmByepgohz5Unf4y2ZhAwCHAMwkao+a5PslZTfvHWXhOrXE4IL2U7bqMxVVMQJARlLX6wE/ctbzrxKTm6aEqnGrDn2X6k3GSDAAo7yPclpc9hKGr/MUQF/C3sXLo6iPULQwHGikYSmHa6X5gAIsKwJBAND8Vushf4Cpw221MLDKNz1rfzangOCkE6bButOM0iRvLrLFDzF3ypOQY+oOKlfrZ2ttQYiWIwXFA+Uss0nBOTECQQCbGJfdolbnvPhUXfipq9qrzQjI520ezGae27uqgQ6EmcXdOPsil2HkQjNXLHd4zpJZ8tXfIgBrL4q56aeH3Fsh";
    //平台公钥
    public const PLATPKEY="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCG5rrRc9+wKHO7Y32eS/fEd5yc4o0cjlXF4fO51utrT9/1yEmCQbDELorsVzl+v2IPdcYQTX74grnkiyPvEnQpXSY2JjZuLwE7sN7F/yzlT4pTafZfshZbP63JHIbntLb6qpcQonfYiVSwhaa+jAktHkrav9+LsQvdeEepKxtRlQIDAQAB";

}
